﻿using System.Windows;

namespace Addresses
{
    /// <summary>
    /// Interaction logic for AddEmail.xaml
    /// </summary>
    public partial class AddPhone : Window
    {
        public AddPhone()
        {
            InitializeComponent();
        }

        public string PhoneNumber
        {
            get { return textbox1.Text; }
            set { textbox1.Text = value; }

        }

        public int PhoneType
        {
            get { return combobox1.SelectedIndex + 1; }
            set { combobox1.SelectedIndex = value; }

        }

        private void OK_Click(object sender, RoutedEventArgs e)
        {
            DialogResult = true;
        }
    }
}
